# How the Return to Display button works at run time

When the operator presses the button at run time, the graphic display that the button is on closes and the display that was previously open reopens, even if the current display was opened by a remote display change (that is, by the data source).

Tip: | As long as the Remote Display Number value is non-zero, the return-to-display will not work.

The Return to Display button only goes back to the most recent display. It dose not go back through a series of displays.

The Return to Display button’s behavior at run time also depends on which type of graphic display is closing and which types of displays were previously open.

## Use display types

- If the graphic display that is closing is a Replace display, the display closes and the previously opened Replace display opens. Any On Top displays that were previously open with the Replace display are not reopened.
- If no Replace displays were previously open, the display does not close.
- If the graphic display that is closing is an On Top display (with or without the Cannot Be Replaced option), the display closes but no display is reopened.

## See also

Create Return to Display buttons

Configure the Return to Display button (General tab)

Set up a caption and image for a button

Causes of run-time errors for the Return to Display button